<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="/common/tags.jsp" %>
<!DOCTYPE html>
<html>
<head>
  <title>${seo.title}</title>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <meta charset="UTF-8">
  <meta name="Keywords" content="${seo.keywords}">
  <meta name="description" content="${seo.description}">
  <%@include file="/common/style.jsp" %>
  <link rel="stylesheet" type="text/css" href="${static_url}/ui/app/assets/css/sub.css">


  <%@include file="/common/javascript.jsp" %>

</head>
<body class="wide">
<!-- 头部 -->
<%@include file="/common/myHeader.jsp" %>
<!-- /头部 -->
<div style="border-top: solid 1px #dcdcdc;" class="h10"></div>

<!-- 主体 -->
<div class="order-header">
  <div class="g">
    <div class="fl">
      <%--<div class="logo">
        <a href="##" title="">
        <img src="##" alt="">
        </a>
      </div>--%>
    </div>
    <div class="fr">
      <!--步骤条-三步骤 -->
      <div class="progress-area progress-area-3">
        <!--我的购物车 -->
        <div id="progress-cart" class="progress-sc-area hide">我的购物车</div>
        <!--核对订单 -->
        <div id="progress-confirm" class="progress-co-area hide" style="display: block;">填写核对订单信息</div>
        <!--成功提交订单 -->
        <div id="progress-submit" class="progress-sso-area hide">成功提交订单</div>
      </div>
    </div>
  </div>
</div>

<div class="layout order">
  <div class="sc-area">

    <h3 class="title">商品清单<b>[<a href="${ctx}/order/goOrder.htm">返回修改购物车</a>]</b></h3>


    <div class="dt-order-area">

      <div class="order-pro-list" id="order-pro-list">

        <div class="order-pro-list">

          <div class="order-pro-title-area">
            <div class="h"><b>商品清单</b></div>
            <div class="b">
              <table border="0" cellpadding="0" cellspacing="0">
                <thead>
                <tr>
                  <th class="tr-pro">商品</th>
                  <th class="tr-price">单价（万）</th>
                  <th class="tr-quantity">数量</th>
                  <%--<th class="tr-subtotal">小计（万）</th>--%>
                </tr>
                </thead>
              </table>
            </div>
          </div>
          <div class="order-pro-area">
            <table border="0" cellpadding="0" cellspacing="0">
              <tbody>
              <c:forEach items="${results.records}" var="goods" varStatus="status">
              <tr>
                <td class="tr-pro">
                  <ul class="pro-area-2">
                    <li>
                      <a title="" target="_blank" href="" seed="item-name">
                        ${goods.name}
                      </a>
                    </li>
                  </ul>
                </td>
                <td class="tr-price">¥${goods.price}</td>
                <td class="tr-quantity">1</td>
              </tr>
              </c:forEach>
              </tbody>
            </table>
          </div>
        </div>
      </div>

      <div class="order-pro-total clearfix">
        <div class="fl">
        </div>
        <div class="fr">
          <div class="order-cost-area">
            <table border="0" cellpadding="0" cellspacing="0">
              <tbody>
              <tr>
                <td class="tal">商品总金额：</td>
                <td class="tar">&nbsp;¥&nbsp;
                  <em id="order-cost-area" data-oldval="${results.totalPrice}">${results.totalPrice}</em>万
                </td>
              </tr>
              <%--<tr>
                <td class="tal">运费：</td>
                <td class="tar">&nbsp;¥&nbsp;
                  <em id="order-deliveryCharge">0.00</em>
                </td>
              </tr>
              <tr>
                <td class="tal">使用优惠券：</td>
                <td class="tar">-&nbsp;¥&nbsp;
                  <em><span id="order-couponDiscount">0.00</span> </em>
                </td>
              </tr>

              <tr>
                <td class="tal">商家活动：
                </td>
                <td class="tar">-&nbsp;¥&nbsp;<em>0.00</em>
                </td>
              </tr>--%>
              </tbody>
            </table>
            <p class="order-cost-total">
              <span class="p-subtotal-price"> 应付金额：<b class="total">¥</b><b class="total" id="order-price" data-oldval="${results.totalPrice}">${results.totalPrice}</b>万</span>
            </p>
          </div>
        </div>
      </div>


      <!--自营订单-赠品   -start-->
      <div id="order-gift-area" class="order-gift-area hide">
        <div id="premiumsList" class="hide"></div>
      </div>

    </div>

    <div class="order-action-area tar">
      <div class="order-protect">
      </div>
      <span class="p-subtotal-price">应付总额：<b>¥<span class="vab" id="payableTotal">${results.totalPrice}</span></b>万</span>
      <a href="${ctx}/order/createcart.htm"  class="button-style-1 button-submit-order" title="提交订单" seed="checkout-submit"><span>提交订单</span></a>
    </div>
  </div>
</div>


<!-- /主体 -->

<!-- 底部 -->
<%@include file="/common/footer.jsp" %>
<!-- /底部 -->

</body>
</html>
